﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home/Home.Master" AutoEventWireup="true"
    CodeBehind="ListAccount.aspx.cs" Inherits="Project.Admin.ListAccount" %>

<asp:Content ID="StatusLogin" ContentPlaceHolderID="StatusLogin" runat="server">
    Welcome:
    <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
    <asp:Button ID="Button2" runat="server" Text="Logout" OnClick="Button1_Click" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="Menulefs" runat="server">
    <ul>
        <li class="menu1"><a href="Admin.aspx">Menu</a></li>
        <li class="menu2"><span><a href="ListAccount.aspx">
            <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="ListAccount.aspx">List
                Account</a> </span>
            <li class="menu2"><span>
                <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="ListOrder.aspx">View
                    List Order</a></span></li>
            <li class="menu3"><span>
                <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="EditRoute.aspx">Edit
                    Route & Price</a></span></li>
            <li class="menu4"><span>
                <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="CreateTellers.aspx">Create
                    Tellers Account</a></span></li>
        </li>
    </ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <h3>
        LIST ACCOUNT TELLERS</h3>
    </BR>
    <div id="searchADMIN">
        <input class="inputsearchadmin" name="search" type="text" placeholder="Enter keyword" /><asp:Button
            ID="Button1" runat="server" Height="21px" Text="Search" Width="57px" />
        <br />
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" 
            DataSourceID="AccountTeller" CellPadding="4" ForeColor="#333333" 
            GridLines="None" Width="461px">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="FullName" HeaderText="FullName" ReadOnly="True" 
                    SortExpression="FullName" />
                <asp:BoundField DataField="Username" HeaderText="Username" ReadOnly="True" 
                    SortExpression="Username" />
                <asp:BoundField DataField="Email" HeaderText="Email" ReadOnly="True" 
                    SortExpression="Email" />
                <asp:BoundField DataField="Teller_No" HeaderText="Teller_No" ReadOnly="True" 
                    SortExpression="Teller_No" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <asp:LinqDataSource ID="AccountTeller" runat="server" 
            ContextTypeName="Project.DataPOFDataContext" EntityTypeName="" 
            Select="new (FullName, Username, Email, Teller_No, Location)" 
            TableName="AccountLogins">
        </asp:LinqDataSource>
    </div>
</asp:Content>
